<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of loadheader
 *
 * @author sonUIT
 */
class loadheader extends CI_Controller {

    //put your code here
    public function __construct() {
        parent::__construct();
    }

    public function load($title) {
        $data = array();
        $data['title']=$title;
        if ($this->session->userdata("is_login") == 1)
            $data['tentk'] = $this->session->userdata('tentk');
        $this->load->view('header_view', $data);
    }

}

?>
